#!/usr/bin/python3.8.9
# -*- coding: utf-8 -*-

# @Author  : Tina Yu
# @Time    : 2021-7-17 18:00
from Car import Car

my_new_car = Car('audi', 'a4', 2019)
print(my_new_car.get_descriptive_name())
my_new_car.read_odometer()

# 通过实例修改属性的值
my_new_car.odometer_reading = 88
my_new_car.read_odometer()

# 通过方法修改属性值
my_new_car.update_odometer(23_500)
# print(my_new_car)
my_new_car.read_odometer()

# 通过方法对属性的值进行递增
my_new_car.increment_odometer(100)
my_new_car.read_odometer()
